cmake_minimum_required(VERSION 3.13.4)

project(cmake_read)

#message("--------Proj Src Dir: " ${PROJECT_SOURCE_DIR})
#set(TEST_CONTENT "hello world")
#file(GENERATE OUTPUT ${PROJECT_SOURCE_DIR}/test_2.cpp INPUT ${PROJECT_SOURCE_DIR}/test.cpp)
#file(GENERATE OUTPUT ${PROJECT_SOURCE_DIR}/test_2.cpp)
file(GENERATE OUTPUT ${PROJECT_SOURCE_DIR}/test_2.cpp CONTENT "$<1:"hello world">")
#message("--------TEST_CONTENT: " ${TEST_CONTENT})
#add_custom_target( print ${CMAKE_COMMAND} -E echo $<1:"hello world!">)
